package cn.com.cfae.iras.doc.analyze.parse.kv;

public class TextLayout {

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    private String text;
    private double top;
    private double left;
    private double width;
    private double height;

    private  double pageWidth;
    private double pageHeight;

    public double getPageWidth() {
        return pageWidth;
    }

    public void setPageWidth(double pageWidth) {
        this.pageWidth = pageWidth;
    }

    public double getPageHeight() {
        return pageHeight;
    }

    public void setPageHeight(double pageHeight) {
        this.pageHeight = pageHeight;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    private int pageNumber;


    public TextLayout() {
    }

    public TextLayout(String text, double top, double left, double height, double width) {
        this.text = text;
        this.top = top;
        this.left = left;
        this.width = width;
        this.height = height;
    }
    public TextLayout(String text, int pageNumber, double top, double left, double height, double width) {
        this.text = text;
        this.pageNumber = pageNumber;
        this.top = top;
        this.left = left;
        this.width = width;
        this.height = height;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getTop() {
        return top;
    }

    public void setTop(double top) {
        this.top = top;
    }

    public double getLeft() {
        return left;
    }

    public void setLeft(double left) {
        this.left = left;
    }
}
